cmake_minimum_required(VERSION 3.2)

project(ExternalSocketServer)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
aux_source_directory(. DIR_SRCS)
add_executable(ExternalSocketServer ${DIR_SRCS})

find_package(Threads REQUIRED)

target_link_libraries(ExternalSocketServer
    PocoUtil
    PocoNet
    PocoXML
    PocoFoundation
    PocoJSON
    ${CMAKE_THREAD_LIBS_INIT}
)